Skip to content

[test] [llvm] Add bool to builder#8687

Closed
hughperkins wants to merge 3 commits into
taichi-dev:masterfrom
hughperkins:hp/add-bool-to-builder
Closed

[test] [llvm] Add bool to builder#8687
hughperkins wants to merge 3 commits into
taichi-dev:masterfrom
hughperkins:hp/add-bool-to-builder

Conversation

@hughperkins
Copy link
Copy Markdown
Contributor

Issue: #

Brief Summary

Add bool to builder. So you can do:

  auto *bool_true = builder.get_bool(true);
  auto *bool_false = builder.get_bool(false);

This will help me create tests for the cfg issue #8675

copilot:summary

Walkthrough

copilot:walkthrough

@hughperkins hughperkins marked this pull request as ready for review April 26, 2025 23:35
@hughperkins hughperkins changed the title [test][llvm] Add bool to builder [test] [llvm] Add bool to builder Apr 26, 2025
@feisuzhu
Copy link
Copy Markdown
Contributor

feisuzhu commented May 1, 2025

/rebase

@taichi-gardener taichi-gardener force-pushed the hp/add-bool-to-builder branch from 95fb641 to bfe008b Compare May 1, 2025 18:35
@feisuzhu feisuzhu requested a review from bobcao3 May 2, 2025 08:25
@feisuzhu
Copy link
Copy Markdown
Contributor

feisuzhu commented May 2, 2025

@bobcao3 PTAL

@hughperkins
Copy link
Copy Markdown
Contributor Author

Empirically, looks like I've stopped using the Builder, e.g. https://github.com/hughperkins/taichi/blob/45cbcd5ec8601c65138c900ed271b24ac1843a19/tests/cpp/ir/control_flow_graph_test.cpp#L72-L109 I'll close this PR (If I need the Builder bool (or if someone else does) I'll re-open it).

@hughperkins hughperkins closed this May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants